package com.atguigu.spzx.manager.service.impl;

import com.atguigu.spzx.model.entity.product.Brand;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.atguigu.spzx.manager.service.BrandService;
import com.atguigu.spzx.manager.mapper.BrandMapper;
import org.springframework.stereotype.Service;

/**
* @author Windows
* @description 针对表【brand(分类品牌)】的数据库操作Service实现
* @createDate 2024-01-31 15:26:27
*/
@Service
public class BrandServiceImpl extends ServiceImpl<BrandMapper, Brand>
    implements BrandService{

    @Override
    public Page<Brand> findByPage(Integer page, Integer limit) {
        return this.page(new Page<Brand>(page, limit));
    }
}




